﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Ext.Net;

namespace Bussiness.View.BackEnd
{
    public partial class MTP_Admin : System.Web.UI.MasterPage
    {
        protected void Page_Init(object sender, EventArgs e)
        {
            // Appcontex app = (Appcontex)Session["app"];
            if (Session["app"] == null)
            {
                Response.Redirect(ResolveClientUrl("/Addmin/BackEnd/Login.aspx") + "?returnURL=" + HttpContext.Current.Request.Url.AbsolutePath);
            }
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!X.IsAjaxRequest)
            {
                this.ResourceManager1.RegisterIcon(Icon.Information);
            }
        }
    }
}
